import request from '@/utils/request';

export function page(data) {
    return request.post('/api/admin/questionBankCategory/page', data);
}

export function add(data) {
    return request.post('/api/admin/questionBankCategory/add', data);
}

export function update(data) {
    return request.post('/api/admin/questionBankCategory/update', data);
}

export function batchDelete(data) {
    return request.post('/api/admin/questionBankCategory/delete', data);
}

export function tree() {
    return request.get('/api/admin/questionBankCategory/tree');
}
